package com.ogilvy.cms.bean;

import java.util.Date;

import com.ogilvy.common.UtilTools;

/**
 * 
 * @description 数据字典bean 私有属性命名规则：将数据库相应字段拷贝过来，全部变成小写，再将下划线去掉，驼峰命名。
 * @version 1.0
 * @author 
 * @update 2012-6-2 上午04:50:43
 */
public class CmsDictionary {
	private Integer cmdId;			//字典主键ID
	private Integer parentCmdId;	//父字典
	private String cmdName;			//名称
	private String cmdValue;		//数值
	private String cmdDesc;			//说明
	private Integer cmdOrderVal;	//排序值
	private String cmdValue2;		//值2
	private String cmdValue3;		//值3
	private Integer cmdPubStatus;	//状态
	private String cmdAdduser;		//添加人
	private Date cmdAddtime;		//添加时间
	private String cmdLastuser;		//最后修改人
	private Date cmdLasttime;		//修改时间
	public Integer getCmdId() {
		return cmdId;
	}
	public void setCmdId(Integer cmdId) {
		this.cmdId = cmdId;
	}
	public Integer getParentCmdId() {
		return parentCmdId;
	}
	public void setParentCmdId(Integer parentCmdId) {
		this.parentCmdId = parentCmdId;
	}
	public String getCmdName() {
		return cmdName;
	}
	public void setCmdName(String cmdName) {
		this.cmdName = cmdName;
	}
	public String getCmdValue() {
		return cmdValue;
	}
	public void setCmdValue(String cmdValue) {
		this.cmdValue = cmdValue;
	}
	public String getCmdDesc() {
		return cmdDesc;
	}
	public void setCmdDesc(String cmdDesc) {
		this.cmdDesc = cmdDesc;
	}
	public Integer getCmdOrderVal() {
		return cmdOrderVal;
	}
	public void setCmdOrderVal(Integer cmdOrderVal) {
		this.cmdOrderVal = cmdOrderVal;
	}
	public String getCmdValue2() {
		return cmdValue2;
	}
	public void setCmdValue2(String cmdValue2) {
		this.cmdValue2 = cmdValue2;
	}
	public String getCmdValue3() {
		return cmdValue3;
	}
	public void setCmdValue3(String cmdValue3) {
		this.cmdValue3 = cmdValue3;
	}
	public Integer getCmdPubStatus() {
		return cmdPubStatus;
	}
	public void setCmdPubStatus(Integer cmdPubStatus) {
		this.cmdPubStatus = cmdPubStatus;
	}
	public String getCmdAdduser() {
		return cmdAdduser;
	}
	public void setCmdAdduser(String cmdAdduser) {
		this.cmdAdduser = cmdAdduser;
	}
//	public String getCmdAddtime() {
//		return UtilTools.formatDate(cmdAddtime);
//	}
//	public void setCmdAddtime(String cmdAddtime) {
//		this.cmdAddtime = cmdAddtime;
//	}
	
	public String getCmdLastuser() {
		return cmdLastuser;
	}
	public void setCmdLastuser(String cmdLastuser) {
		this.cmdLastuser = cmdLastuser;
	}

	public Date getCmdAddtime() {
		return cmdAddtime;
	}
	public void setCmdAddtime(Date cmdAddtime) {
		this.cmdAddtime = cmdAddtime;
	}
	public Date getCmdLasttime() {
		return cmdLasttime;
	}
	public void setCmdLasttime(Date cmdLasttime) {
		this.cmdLasttime = cmdLasttime;
	}
	
}
